package com.qijian.tool.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.qijian.tool.domain.App;
import com.qijian.tool.domain.vo.AppVo;
import com.qijian.tool.mapper.AppMapper;
import com.qijian.tool.service.IAppService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

/**
 * App版本更新Service业务层处理
 *
 * @author qijian
 * @date 2022-02-08
 */
@Service
@RequiredArgsConstructor
public class AppServiceImpl extends ServiceImpl<AppMapper, App> implements IAppService {

    private final AppMapper appMapper;


    @Override
    public AppVo getLatestApp() {
        return appMapper.getLatestApp();
    }
}
